<?php

namespace Infrastructure;

class SimpleDependencyInjector {
    
    public function getRegistrationForm() {
        return new \Models\Forms\RegistrationForm();
    }
    
    public function getSessionStorage() {
        return new SessionStorage();
    }
    
    public function getMembershipModel() {
        $connection = \Models\DbContext::getConnection();
        return new \Models\MembershipModel($connection);      
    }
}

